package hcn.protocol.base;

import java.io.Serializable;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by jinxin on 2016/10/25.
 */
@XmlRootElement(name = "dept")
public class BedQueryDeptBean implements Serializable {
    private static final long serialVersionUID = 4143118011545268053L;
    private String localDeptId;
    private String localDeptName;
    private Integer deptTotalBeds;
    private Integer deptEmptyBeds;
    List<BedQueryDetailBean> details;

    @XmlElement
    public String getLocalDeptId() {
        return localDeptId;
    }

    public void setLocalDeptId(String localDeptId) {
        this.localDeptId = localDeptId;
    }

    @XmlElement
    public String getLocalDeptName() {
        return localDeptName;
    }

    public void setLocalDeptName(String localDeptName) {
        this.localDeptName = localDeptName;
    }

    @XmlElement
    public Integer getDeptTotalBeds() {
        return deptTotalBeds;
    }

    public void setDeptTotalBeds(Integer deptTotalBeds) {
        this.deptTotalBeds = deptTotalBeds;
    }

    @XmlElement
    public Integer getDeptEmptyBeds() {
        return deptEmptyBeds;
    }

    public void setDeptEmptyBeds(Integer deptEmptyBeds) {
        this.deptEmptyBeds = deptEmptyBeds;
    }

    @XmlElementWrapper(name = "details")
    @XmlElement(name = "detail")
    public List<BedQueryDetailBean> getDetails() {
        return details;
    }

    public void setDetails(List<BedQueryDetailBean> details) {
        this.details = details;
    }
}
